/* Ejercicio 4.9
   ejer4_9.c */
#include <stdio.h>

/* funcion main, el programa inicia aca */
int main( void )
{
    int n, number, counter;
    int sum = 0;

    scanf( "%d", &n );

    for ( counter = 1; counter <= n; counter ++ ) {
        scanf( "%d", &number );
        sum += number;
    }

    printf( "%d\n", sum );
	return 0;
} /* fin de la funcion main */
